﻿using MediatR;
using ProductionManagement.Domain.Dtos;
using ProductionManagement.Domain.ProductionDomain;
using SqlSugar;

namespace ProductionManagement.Application.Command.StrippingCommand
{
    public class StrippingWarhouseUpdCommand : IRequest<int>
    {
        public int StrippingId { get; set; }
        /// <summary>
        /// 生产退料编号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)")]//设计长度
        public string? StripNumber { get; set; }
        /// <summary>
        /// 入库状态
        /// </summary>
        public int StripWState { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)")]//设计长度
        public string? StripDocumentNumber { get; set; }
        /// <summary>
        /// 退料日期
        /// </summary>
        public DateTime? StripDate { get; set; }
        /// <summary>
        /// 退料数量合计
        /// </summary>
        public int StripNumTotal { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdTime { get; set; }

        /// <summary>
        /// 删除人姓名
        /// </summary>
        public string? DelName { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DelTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDel { get; set; } = false;
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
    }
}
